import request from '@/utils/request'
// 请求分销商列表数据
export function disList(params) {
  return request({
    // url: 'http://ai7avd.natappfree.cc/tourism/platform/back/distributor/findAll',
    url: 'http://qjx86z.natappfree.cc/tourism/platform/back/distributor/findAll',
    method: 'get',
    params: params
  })
}

// 请求删除分销商接口
export function deleteAdmin(id) {
  return request({
    // url: 'http://ai7avd.natappfree.cc/tourism/platform/back/distributor/deleteById',
    url: 'http://qjx86z.natappfree.cc/tourism/platform/back/distributor/deleteById',
    method: 'get',
    params: {
      id: id,
    }
  })
}
// 请求分销商详情接口
export function disDetail(id) {
  return request({
    url: 'http://qjx86z.natappfree.cc/tourism/platform/back/distributor/findById',
    method: 'get',
    params: {
      id: id,
    }
  })
}
